//
//  XPCountDown.h
//  DoulinClient
//
//  Created by YLKJ on 2019/1/8.
//

#import <Foundation/Foundation.h>
#import "XPSingleton.h"
#import "OYCountDownManager.h"

typedef NS_ENUM(NSInteger, XPCountDownType){
    XPCountDownTypeSingle,
    XPCountDownTypeNormal,
};

typedef void(^TimeBlk)(NSInteger time);

@interface XPCountDown : NSObject
SingletonH(XPCountDown)

- (void)observeTime:(NSInteger)time type:(XPCountDownType)type blk:(TimeBlk)blk;

@end
